package com.sayai.excel.paln.makeplan;

import com.alibaba.excel.write.builder.ExcelWriterBuilder;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName TaskData
 * @Description TODO
 * @Author Sayai
 * @Date 2020/8/13 21:43
 * @Vertion 1.0
 **/
public class TaskData {

    private ExcelWriterBuilder builder;


    public TaskData(ExcelWriterBuilder builder){
        this.builder = builder;
    }

//    public ExcelWriterBuilder makeTask()
//    {
//        return this.builder.
//    }
    public List<PlanData> needData() {
        List<PlanData> list = new ArrayList<PlanData>();
        PlanData line1 = new PlanData();
        line1.setModel("需求调研");
        line1.setDictionary("D新增方向");
        line1.setDifficulty("4");
        line1.setWorkload(70.00);
        line1.setRealWorkload(70.00);
        line1.setPlanStartDate(null);
        line1.setUser("石熠");
        line1.setAuditer("马凯佳");
        line1.setOuter("");
        line1.setMaker("=A2");
        list.add(line1);

        PlanData line2 = new PlanData();
        line2.setModel("需求分析");
        line2.setDictionary("E新增方向分析");
        line2.setDifficulty("5");
        line2.setWorkload(106.67);
        line2.setRealWorkload(120.00);
        line2.setPlanStartDate(null);
        line2.setUser("石熠");
        line2.setAuditer("马凯佳");
        line2.setOuter("");
        list.add(line2);

        PlanData line3 = new PlanData();
        line3.setModel("需求评审");
        line3.setDictionary("F新增方向评审");
        line3.setDifficulty("5");
        line3.setWorkload(15.67);
        line3.setRealWorkload(60.00);
        line3.setPlanStartDate(null);
        line3.setUser("石熠");
        line3.setAuditer("马凯佳");
        line3.setOuter("");
        list.add(line3);


        return list;
    }
}
